Lighting colour changes from CPU to GPU

Hello Renderers,

I am experiencing an issue with the light colour change when I switch on the GPU mode. I created a KeyShot file on my iMac, packaged it, and opened it on a Windows laptop. For your reference, I have attached the pictures below. I hope you can assist me in resolving this matter.

Thank you very much for your help.

CPU Mode

GPU Mode

Hi Nishant!

Most renderers have differences between their CPU and GPU mode. And while CPU with most renderers has more options the difference in speed is so bizarre I try to stick with GPU. That way I just don’t know what it would look like in CPU mode.

But since you moved also from MacOS to Windows, I wonder if the CPU version of Windows is actually the same as under MacOS. From what I know the Mac uses also different default gamma etc although that might have changed. Been some time I worked behind a Mac.

So not really a straight answer but I wonder if the difference you see (especially in color) is caused by CPU<>GPU or more Mac<>Windows

I can’t imagine the colors get so different using GPU mode. But if you use for example textures with Apple related ICC profiles I can imagine you can get issues with colors.

A couple of questions: Which version of KeyShot are you using? And can you share the file?

Hi, thank you for your response. Currently, I am using Keyshot 2023 on both my Mac and Windows systems. Unfortunately, I am unable to attach the packaged file to this comment. However, I have included a Google Drive link for your reference: https://drive.google.com/file/d/1TDR7HBpvwS6F4TZ8IuEp26VIHGbcg0Mz/view?usp=sharing. I hope this is helpful for you.

Thank you for taking the time to look into this situation.

Thank you for your comment, Oscar. I appreciate it. I’m not sure what caused the change in colour, but I think it might be due to a Mac/Windows compatibility issue although they are the same versions.

I looked at your scene but there is really a huge difference in color, same if it’s just on Windows between CPU/GPU mode. I wonder what is actually causing it. Maybe Will has an idea since he also switches more between CPU/GPU I think.

Hey! I found the issue. You’ve got a curve fade node plugged into the multiplier value of each of the IES lights. For some reason, that’s causing a hue shift. If you remove those nodes, they seem to work correctly in GPU mode.

2 Likes

Nice find! Sounds like a bit of a bug.

Thanks for discovering the issue, Will. I wouldn’t have found it myself. However, is there another way to animate the lights without using the curve fade node?

You can animate the color, but that won’t animate intensity/brightness. I did not find a way to resolve this. I actually got an error and froze KeyShot when trying to animate different IES lights in GPU mode. I think it’s a bug for sure.